<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>测试</title>
	<script type="text/javascript">
		document.write("<table border='1'>");
			for (var i = 1; i <= 9; i++) {
				document.write("<tr>");
				for (var j = 1; j <=i; j++) {
					if(j%2==0){
						if(i%2==1){
							document.write("<td bgcolor='yellow'>");
						}else{
							document.write("<td bgcolor='blue'>");
						}
						
					}else{
						document.write("<td bgcolor='red'>");
					}
					document.write(i+"*"+j+"="+i*j);
					document.write("</td>");
				};
				document.write("</tr>");
			};
		document.write("</table>");


		for (var i = 1; i <=6; i++) {
			for (var k =6-i ; k>=1 ; k--) {
				document.write("8");
			};
			for (var j = 1; j <= (i*2-1); j++) {
				document.write("*");
			};
			for (var k =6-i ; k>=1 ; k--) {
				document.write("8");
			};
			document.write("<br/>");

		};

		for (var i = 0; i <=100; i++) {
			
		};

		
	</script>
</head>
<body>
	
	<div onclick="alert(777)" ></div>

	<script type="text/javascript">

		// alert(num);

	</script>
</body>
</html>